package com.mxw.mytools.helper;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import lombok.Data;

import java.util.Map;

@Data
public class HeadAnalysisEventListener extends AnalysisEventListener<Map<Integer, String>> {
    private Map<Integer, String> headMap;

    @Override
    public void invoke(Map<Integer, String> integerStringMap, AnalysisContext analysisContext) {

    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {

    }

    public void invokeHeadMap(Map<Integer, String> head, AnalysisContext context) {
        headMap = head;
    }
}
